home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '93 / Papers '93 / Macintosh as Internet Server ƒ / inetd / Libraries / MacTCPLib / DNR.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-16  |  500 b   |  26 lines  |  [TEXT/MPS ]

  1.  
  2. #ifndef __DNRLIB__
  3. #define __DNRLIB__
  4.  
  5. #ifndef __MACTCPCOMMONTYPES__
  6. #include <MacTCPCommonTypes.h>
  7. #endif
  8. #ifndef __ADDRESSXLATION__
  9. #include <AddressXlation.h>
  10. #endif
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. OSErr    dnrNameToAddr(char* name, ip_addr* addr, ResultProcPtr proc, char* usr);
  17. OSErr    dnrAddrToName(ip_addr addr, char* name, ResultProcPtr proc, char* usr);
  18. OSErr    dnrDotsToAddr(char* dots, ip_addr* addr);
  19. OSErr    dnrAddrToDots(ip_addr addr, char* dots);
  20.  
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24.  
  25. #endif
  26.